import { MockAdapter } from '@/mock/mock-adapter';
const mock = MockAdapter.getInstance();

import Mock from 'mockjs'
const Random = Mock.Random;

// 获取应用数据
mock.onGet('v7/my-to-doappmenu').reply((config: any) => {
    let status = MockAdapter.mockStatus(config);
    return [status, {
        name: 'db_appmenu2_appmenu',
        items:  [
            {
	id: '8ED18FC4-F81D-46F7-B900-873649FEF595',
	name: 'menuitem1',
	text: '入驻审核',
	type: 'MENUITEM',
	counterid: 'MYTOBEEXAMINE',
	tooltip: '入驻审核',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: 'assets/images/ruzhushenhe-color.svg',
	textcls: '',
	appfunctag: 'AppFunc13',
	resourcetag: 'GOVE_ROLE_ENT',
},
            {
	id: '8AA01706-DD5A-4BFF-A4FD-B5AA00C98120',
	name: 'menuitem7',
	text: '星级评定',
	type: 'MENUITEM',
	counterid: 'MYTOBEEVALUATE',
	tooltip: '星级评定',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: 'assets/images/xjpd.svg',
	textcls: '',
	appfunctag: 'AppFunc17',
	resourcetag: 'TOWN_ROLE_ENT',
},
            {
	id: '3B462D39-198F-495D-8CA0-D70AEE7D8E70',
	name: 'menuitem9',
	text: '星级评定',
	type: 'MENUITEM',
	counterid: 'MYTOBEEVALUATEC',
	tooltip: '星级评定',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: 'assets/images/xjpd.svg',
	textcls: '',
	appfunctag: 'AppFunc33',
	resourcetag: '',
},
            {
	id: 'AABBE90B-EF4E-41F9-A6CB-972B84DBFA3C',
	name: 'menuitem2',
	text: '待分配的任务',
	type: 'MENUITEM',
	counterid: 'MYTOBEDUSTRTASK',
	tooltip: '待分配的任务',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: 'assets/images/djddingdan.svg',
	textcls: '',
	appfunctag: 'AppFunc14',
	resourcetag: 'VILLAGE_ROLE_ENT',
},
            {
	id: '43BE9B81-E00D-417C-B2CE-EA4F06186C63',
	name: 'menuitem3',
	text: '待完成的任务',
	type: 'MENUITEM',
	counterid: 'MYTOBECOMPTASK',
	tooltip: '待完成的任务',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: 'assets/images/dwcrenwu.svg',
	textcls: '',
	appfunctag: 'AppFunc15',
	resourcetag: 'SHOP_ROLE_ENT_A',
},
            {
	id: 'A5DF6D9D-0D7A-4DDE-B384-297804C8E2AA',
	name: 'menuitem4',
	text: '待评价的任务',
	type: 'MENUITEM',
	counterid: 'MYTOBEEVALUATETASK',
	tooltip: '待评价的任务',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: 'assets/images/dpjrenwu.svg',
	textcls: '',
	appfunctag: 'AppFunc16',
	resourcetag: 'SHOP_ROLE_ENT_A',
},
            {
	id: '79203A84-02B4-4A1D-90E3-90E8E883DF39',
	name: 'menuitem5',
	text: '待确认的订单',
	type: 'MENUITEM',
	counterid: 'MYTOBECONFIRMORDER',
	tooltip: '待确认的订单',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: 'assets/images/djddingdan.svg',
	textcls: '',
	appfunctag: 'AppFunc19',
	resourcetag: '',
},
            {
	id: '86BF2C5D-8E1A-44FD-B8BD-64A15D95D064',
	name: 'menuitem6',
	text: '待完成的订单',
	type: 'MENUITEM',
	counterid: 'MYTOBECOMPORDER',
	tooltip: '待完成的订单',
	expanded: false,
	separator: false,
	hidden: false,
	hidesidebar: false,
	opendefault: false,
	iconcls: '',
	icon: 'assets/images/dwcdingdan.svg',
	textcls: '',
	appfunctag: 'AppFunc18',
	resourcetag: '',
},
        ],
    }];
});

